package com.cheng.pojo;

import java.io.Serializable;

/**
 * 用户类
 * @author pc
 */

public class User implements Serializable {
    //学号
    private String sid;
    //姓名
    private String name;
    //用户的openid
    private String openid;
    //用户的通过接口返回的人脸id
    private String face_token;
    //用户上传的url人脸链接
    private String face_url;

    public User(String sid, String name, String openid, String face_token, String face_url) {
        this.sid = sid;
        this.name = name;
        this.openid = openid;
        this.face_token = face_token;
        this.face_url = face_url;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getFace_token() {
        return face_token;
    }

    public void setFace_token(String face_token) {
        this.face_token = face_token;
    }

    public String getFace_url() {
        return face_url;
    }

    public void setFace_url(String face_url) {
        this.face_url = face_url;
    }

    @Override
    public String toString() {
        return "User{" +
                "sid='" + sid + '\'' +
                ", name='" + name + '\'' +
                ", openid='" + openid + '\'' +
                ", face_token='" + face_token + '\'' +
                ", face_url='" + face_url + '\'' +
                '}';
    }
}
